<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>refl-cpp: refl::descriptor::type_descriptor&lt; T &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">refl-cpp
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classrefl_1_1descriptor_1_1type__descriptor.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="classrefl_1_1descriptor_1_1type__descriptor-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">refl::descriptor::type_descriptor&lt; T &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Represents a reflected type.  
 <a href="classrefl_1_1descriptor_1_1type__descriptor.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="refl_8hpp_source.html">refl.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a38599f7e777bda08453cdc4387c03708"><td class="memItemLeft" align="right" valign="top">typedef T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a></td></tr>
<tr class="memdesc:a38599f7e777bda08453cdc4387c03708"><td class="mdescLeft">&#160;</td><td class="mdescRight">The reflected type T.  <a href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">More...</a><br /></td></tr>
<tr class="separator:a38599f7e777bda08453cdc4387c03708"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac15c7097cb5c702c83802465cd364c3c"><td class="memItemLeft" align="right" valign="top">typedef detail::declared_base_type_list&lt; T &gt;::<a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#ac15c7097cb5c702c83802465cd364c3c">declared_base_types</a></td></tr>
<tr class="memdesc:ac15c7097cb5c702c83802465cd364c3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">The declared base types (via base_types&lt;Ts...&gt; attribute) of T.  <a href="classrefl_1_1descriptor_1_1type__descriptor.html#ac15c7097cb5c702c83802465cd364c3c">More...</a><br /></td></tr>
<tr class="separator:ac15c7097cb5c702c83802465cd364c3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2c94fbeba96fd5d7259ee3843e5ddbe"><td class="memItemLeft" align="right" valign="top">typedef detail::base_type_list&lt; T &gt;::<a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#ab2c94fbeba96fd5d7259ee3843e5ddbe">base_types</a></td></tr>
<tr class="memdesc:ab2c94fbeba96fd5d7259ee3843e5ddbe"><td class="mdescLeft">&#160;</td><td class="mdescRight">The declared and inherited base types of T.  <a href="classrefl_1_1descriptor_1_1type__descriptor.html#ab2c94fbeba96fd5d7259ee3843e5ddbe">More...</a><br /></td></tr>
<tr class="separator:ab2c94fbeba96fd5d7259ee3843e5ddbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0974752f92b74a055bc9d8335d493fdf"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="namespacerefl_1_1descriptor.html#a8c50bc8b2fa157709ed2453246d0f9a0">declared_member_list</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#a0974752f92b74a055bc9d8335d493fdf">declared_member_types</a></td></tr>
<tr class="memdesc:a0974752f92b74a055bc9d8335d493fdf"><td class="mdescLeft">&#160;</td><td class="mdescRight">A synonym for declared_member_list&lt;T&gt;.  <a href="classrefl_1_1descriptor_1_1type__descriptor.html#a0974752f92b74a055bc9d8335d493fdf">More...</a><br /></td></tr>
<tr class="separator:a0974752f92b74a055bc9d8335d493fdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abced96d86e87fce0968b1a9c9c2df561"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="namespacerefl_1_1descriptor.html#a50b88518840c2acd134a2171795bd7c3">member_list</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#abced96d86e87fce0968b1a9c9c2df561">member_types</a></td></tr>
<tr class="memdesc:abced96d86e87fce0968b1a9c9c2df561"><td class="mdescLeft">&#160;</td><td class="mdescRight">A synonym for member_list&lt;T&gt;.  <a href="classrefl_1_1descriptor_1_1type__descriptor.html#abced96d86e87fce0968b1a9c9c2df561">More...</a><br /></td></tr>
<tr class="separator:abced96d86e87fce0968b1a9c9c2df561"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b45390046a31d03e076aa44899005a4"><td class="memItemLeft" align="right" valign="top">typedef detail::attribute_types&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#a0b45390046a31d03e076aa44899005a4">attribute_types</a></td></tr>
<tr class="memdesc:a0b45390046a31d03e076aa44899005a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">An alias specifying the types of the attributes of the member.  <a href="classrefl_1_1descriptor_1_1type__descriptor.html#a0b45390046a31d03e076aa44899005a4">More...</a><br /></td></tr>
<tr class="separator:a0b45390046a31d03e076aa44899005a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a47c4ff48babd4b3c949a9f20fd4cfca2"><td class="memItemLeft" align="right" valign="top">static constexpr <a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#ac15c7097cb5c702c83802465cd364c3c">declared_base_types</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#a47c4ff48babd4b3c949a9f20fd4cfca2">declared_bases</a> {}</td></tr>
<tr class="memdesc:a47c4ff48babd4b3c949a9f20fd4cfca2"><td class="mdescLeft">&#160;</td><td class="mdescRight">The declared base types (via base_types&lt;Ts...&gt; attribute) of T.  <a href="classrefl_1_1descriptor_1_1type__descriptor.html#a47c4ff48babd4b3c949a9f20fd4cfca2">More...</a><br /></td></tr>
<tr class="separator:a47c4ff48babd4b3c949a9f20fd4cfca2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49cb64fdc7142034426db38142cfa67b"><td class="memItemLeft" align="right" valign="top">static constexpr <a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#ab2c94fbeba96fd5d7259ee3843e5ddbe">base_types</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#a49cb64fdc7142034426db38142cfa67b">bases</a> {}</td></tr>
<tr class="memdesc:a49cb64fdc7142034426db38142cfa67b"><td class="mdescLeft">&#160;</td><td class="mdescRight">The declared and inherited base types of T.  <a href="classrefl_1_1descriptor_1_1type__descriptor.html#a49cb64fdc7142034426db38142cfa67b">More...</a><br /></td></tr>
<tr class="separator:a49cb64fdc7142034426db38142cfa67b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49d984bc4bcb37717d3dc95a1815a4ba"><td class="memItemLeft" align="right" valign="top">static constexpr <a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#a0974752f92b74a055bc9d8335d493fdf">declared_member_types</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#a49d984bc4bcb37717d3dc95a1815a4ba">declared_members</a> { }</td></tr>
<tr class="memdesc:a49d984bc4bcb37717d3dc95a1815a4ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">The list of declared member descriptors.  <a href="classrefl_1_1descriptor_1_1type__descriptor.html#a49d984bc4bcb37717d3dc95a1815a4ba">More...</a><br /></td></tr>
<tr class="separator:a49d984bc4bcb37717d3dc95a1815a4ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48f1fddd822d40866a30bf1ebd60fa1a"><td class="memItemLeft" align="right" valign="top">static constexpr <a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#abced96d86e87fce0968b1a9c9c2df561">member_types</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#a48f1fddd822d40866a30bf1ebd60fa1a">members</a> { }</td></tr>
<tr class="memdesc:a48f1fddd822d40866a30bf1ebd60fa1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">The list of declared and inherited member descriptors.  <a href="classrefl_1_1descriptor_1_1type__descriptor.html#a48f1fddd822d40866a30bf1ebd60fa1a">More...</a><br /></td></tr>
<tr class="separator:a48f1fddd822d40866a30bf1ebd60fa1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2593e5ff02d41a4a4c0d45194c21ac6b"><td class="memItemLeft" align="right" valign="top">static constexpr const auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#a2593e5ff02d41a4a4c0d45194c21ac6b">name</a> { type_info::name }</td></tr>
<tr class="memdesc:a2593e5ff02d41a4a4c0d45194c21ac6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">The name of the reflected type.  <a href="classrefl_1_1descriptor_1_1type__descriptor.html#a2593e5ff02d41a4a4c0d45194c21ac6b">More...</a><br /></td></tr>
<tr class="separator:a2593e5ff02d41a4a4c0d45194c21ac6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad71db44823dc75bcdd6bcd98449bab31"><td class="memItemLeft" align="right" valign="top">static constexpr const auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#ad71db44823dc75bcdd6bcd98449bab31">attributes</a> { type_info::attributes }</td></tr>
<tr class="memdesc:ad71db44823dc75bcdd6bcd98449bab31"><td class="mdescLeft">&#160;</td><td class="mdescRight">The attributes of the reflected type.  <a href="classrefl_1_1descriptor_1_1type__descriptor.html#ad71db44823dc75bcdd6bcd98449bab31">More...</a><br /></td></tr>
<tr class="separator:ad71db44823dc75bcdd6bcd98449bab31"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T&gt;<br />
class refl::descriptor::type_descriptor&lt; T &gt;</h3>

<p>Represents a reflected type. </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a0b45390046a31d03e076aa44899005a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b45390046a31d03e076aa44899005a4">&#9670;&nbsp;</a></span>attribute_types</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef detail::attribute_types&lt;T&gt; <a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html">refl::descriptor::type_descriptor</a>&lt; T &gt;::<a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#a0b45390046a31d03e076aa44899005a4">attribute_types</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>An alias specifying the types of the attributes of the member. </p>
<p>(Removes CV-qualifiers.) </p><div class="fragment"><div class="line"><span class="keyword">struct </span>Foo {};</div>
<div class="line">REFL_AUTO(<a class="code" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a>(Foo, bases&lt;&gt;, ns::serializable()))</div>
<div class="line"> </div>
<div class="line"><a class="code" href="namespacerefl_1_1descriptor.html#a84ed2ffb6772717a47f526da332c45c8">get_attribute_types</a>(<a class="code" href="namespacerefl.html#ae95fbc2d63a7db5ce4d8a4dcca3d637e">reflect</a>&lt;Foo&gt;()) -&gt; type_list&lt;attr::<a class="code" href="classrefl_1_1descriptor_1_1type__descriptor.html#ab2c94fbeba96fd5d7259ee3843e5ddbe">base_types</a>&lt;&gt;, ns::serializable&gt;</div>
</div><!-- fragment --> 
</div>
</div>
<a id="ab2c94fbeba96fd5d7259ee3843e5ddbe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2c94fbeba96fd5d7259ee3843e5ddbe">&#9670;&nbsp;</a></span>base_types</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef detail::base_type_list&lt;T&gt;::<a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a> <a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html">refl::descriptor::type_descriptor</a>&lt; T &gt;::<a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#ab2c94fbeba96fd5d7259ee3843e5ddbe">base_types</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The declared and inherited base types of T. </p>
<p>Combine with reflect_types to obtain type_descriptors for those types. </p><dl class="section see"><dt>See also</dt><dd>reflect_types</dd></dl>
<div class="fragment"><div class="line"><span class="keyword">struct </span>Animal {};</div>
<div class="line">REFL_AUTO(<a class="code" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a>(Animal))</div>
<div class="line"><span class="keyword">struct </span>Mammal : Animal {};</div>
<div class="line">REFL_AUTO(<a class="code" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a>(Mammal, bases&lt;Animal&gt;))</div>
<div class="line"><span class="keyword">struct </span>Dog : Mammal {}:</div>
<div class="line">REFL_AUTO(<a class="code" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a>(Dog, bases&lt;Mammal&gt;))</div>
<div class="line"> </div>
<div class="line"><a class="code" href="namespacerefl_1_1descriptor.html#afc445cfd9be739891c2b6731047cf144">get_base_types</a>(reflect&lt;Dog&gt;()) -&gt; type_list&lt;Mammal, Animal&gt;</div>
</div><!-- fragment --> 
</div>
</div>
<a id="ac15c7097cb5c702c83802465cd364c3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac15c7097cb5c702c83802465cd364c3c">&#9670;&nbsp;</a></span>declared_base_types</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef detail::declared_base_type_list&lt;T&gt;::<a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a> <a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html">refl::descriptor::type_descriptor</a>&lt; T &gt;::<a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#ac15c7097cb5c702c83802465cd364c3c">declared_base_types</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The declared base types (via base_types&lt;Ts...&gt; attribute) of T. </p>
<p>Combine with reflect_types to obtain type_descriptors for those types. </p><dl class="section see"><dt>See also</dt><dd>reflect_types</dd></dl>
<div class="fragment"><div class="line"><span class="keyword">struct </span>Animal {};</div>
<div class="line">REFL_AUTO(<a class="code" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a>(Animal))</div>
<div class="line"><span class="keyword">struct </span>Mammal : Animal {};</div>
<div class="line">REFL_AUTO(<a class="code" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a>(Mammal, bases&lt;Animal&gt;))</div>
<div class="line"><span class="keyword">struct </span>Dog : Mammal {}:</div>
<div class="line">REFL_AUTO(<a class="code" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a>(Dog, bases&lt;Mammal&gt;))</div>
<div class="line"> </div>
<div class="line"><a class="code" href="namespacerefl_1_1descriptor.html#afc445cfd9be739891c2b6731047cf144">get_base_types</a>(reflect&lt;Dog&gt;()) -&gt; type_list&lt;Mammal&gt;</div>
</div><!-- fragment --> 
</div>
</div>
<a id="a0974752f92b74a055bc9d8335d493fdf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0974752f92b74a055bc9d8335d493fdf">&#9670;&nbsp;</a></span>declared_member_types</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="namespacerefl_1_1descriptor.html#a8c50bc8b2fa157709ed2453246d0f9a0">declared_member_list</a>&lt;T&gt; <a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html">refl::descriptor::type_descriptor</a>&lt; T &gt;::<a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#a0974752f92b74a055bc9d8335d493fdf">declared_member_types</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A synonym for declared_member_list&lt;T&gt;. </p>

</div>
</div>
<a id="abced96d86e87fce0968b1a9c9c2df561"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abced96d86e87fce0968b1a9c9c2df561">&#9670;&nbsp;</a></span>member_types</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="namespacerefl_1_1descriptor.html#a50b88518840c2acd134a2171795bd7c3">member_list</a>&lt;T&gt; <a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html">refl::descriptor::type_descriptor</a>&lt; T &gt;::<a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#abced96d86e87fce0968b1a9c9c2df561">member_types</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A synonym for member_list&lt;T&gt;. </p>

</div>
</div>
<a id="a38599f7e777bda08453cdc4387c03708"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38599f7e777bda08453cdc4387c03708">&#9670;&nbsp;</a></span>type</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef T <a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html">refl::descriptor::type_descriptor</a>&lt; T &gt;::<a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The reflected type T. </p>
<div class="fragment"><div class="line"><span class="keyword">struct </span>Foo {};</div>
<div class="line">REFL_AUTO(<a class="code" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a>(Foo))</div>
<div class="line"> </div>
<div class="line"><a class="code" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type_descriptor&lt;Foo&gt;::type</a> -&gt; Foo</div>
</div><!-- fragment --> 
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ad71db44823dc75bcdd6bcd98449bab31"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad71db44823dc75bcdd6bcd98449bab31">&#9670;&nbsp;</a></span>attributes</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr const auto <a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html">refl::descriptor::type_descriptor</a>&lt; T &gt;::attributes { type_info::attributes }</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">constexpr</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The attributes of the reflected type. </p>
<div class="fragment"><div class="line"><span class="keyword">struct </span>Foo {};</div>
<div class="line">REFL_AUTO(<a class="code" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a>(Foo, bases&lt;&gt;, ns::serializable()))</div>
<div class="line"> </div>
<div class="line"><a class="code" href="namespacerefl_1_1descriptor.html#a268faca3e6a1845928f583abe5ef877e">get_attributes</a>(<a class="code" href="namespacerefl.html#ae95fbc2d63a7db5ce4d8a4dcca3d637e">reflect</a>&lt;Foo&gt;()) -&gt; const std::tuple&lt;attr::<a class="code" href="classrefl_1_1descriptor_1_1type__descriptor.html#ab2c94fbeba96fd5d7259ee3843e5ddbe">base_types</a>&lt;&gt;, ns::serializable&gt;&amp;</div>
</div><!-- fragment --> 
</div>
</div>
<a id="a49cb64fdc7142034426db38142cfa67b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49cb64fdc7142034426db38142cfa67b">&#9670;&nbsp;</a></span>bases</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr <a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#ab2c94fbeba96fd5d7259ee3843e5ddbe">base_types</a> <a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html">refl::descriptor::type_descriptor</a>&lt; T &gt;::bases {}</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">constexpr</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The declared and inherited base types of T. </p>
<p>Combine with reflect_types to obtain type_descriptors for those types. </p><dl class="section see"><dt>See also</dt><dd>reflect_types</dd></dl>
<div class="fragment"><div class="line"><span class="keyword">struct </span>Animal {};</div>
<div class="line">REFL_AUTO(<a class="code" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a>(Animal))</div>
<div class="line"><span class="keyword">struct </span>Mammal : Animal {};</div>
<div class="line">REFL_AUTO(<a class="code" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a>(Mammal, bases&lt;Animal&gt;))</div>
<div class="line"><span class="keyword">struct </span>Dog : Mammal {}:</div>
<div class="line">REFL_AUTO(<a class="code" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a>(Dog, bases&lt;Mammal&gt;))</div>
<div class="line"> </div>
<div class="line"><a class="code" href="namespacerefl_1_1descriptor.html#afc445cfd9be739891c2b6731047cf144">get_base_types</a>(reflect&lt;Dog&gt;()) -&gt; type_list&lt;Mammal, Animal&gt;</div>
</div><!-- fragment --> 
</div>
</div>
<a id="a47c4ff48babd4b3c949a9f20fd4cfca2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47c4ff48babd4b3c949a9f20fd4cfca2">&#9670;&nbsp;</a></span>declared_bases</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr <a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#ac15c7097cb5c702c83802465cd364c3c">declared_base_types</a> <a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html">refl::descriptor::type_descriptor</a>&lt; T &gt;::declared_bases {}</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">constexpr</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The declared base types (via base_types&lt;Ts...&gt; attribute) of T. </p>
<p>Combine with reflect_types to obtain type_descriptors for those types. </p><dl class="section see"><dt>See also</dt><dd>reflect_types</dd></dl>
<div class="fragment"><div class="line"><span class="keyword">struct </span>Animal {};</div>
<div class="line">REFL_AUTO(<a class="code" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a>(Animal))</div>
<div class="line"><span class="keyword">struct </span>Mammal : Animal {};</div>
<div class="line">REFL_AUTO(<a class="code" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a>(Mammal, bases&lt;Animal&gt;))</div>
<div class="line"><span class="keyword">struct </span>Dog : Mammal {}:</div>
<div class="line">REFL_AUTO(<a class="code" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a>(Dog, bases&lt;Mammal&gt;))</div>
<div class="line"> </div>
<div class="line"><a class="code" href="namespacerefl_1_1descriptor.html#afc445cfd9be739891c2b6731047cf144">get_base_types</a>(reflect&lt;Dog&gt;()) -&gt; type_list&lt;Mammal&gt;</div>
</div><!-- fragment --> 
</div>
</div>
<a id="a49d984bc4bcb37717d3dc95a1815a4ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49d984bc4bcb37717d3dc95a1815a4ba">&#9670;&nbsp;</a></span>declared_members</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr <a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#a0974752f92b74a055bc9d8335d493fdf">declared_member_types</a> <a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html">refl::descriptor::type_descriptor</a>&lt; T &gt;::declared_members { }</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">constexpr</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The list of declared member descriptors. </p>
<div class="fragment"><div class="line"><span class="keyword">struct </span>Base {</div>
<div class="line"> <span class="keywordtype">int</span> val;</div>
<div class="line">};</div>
<div class="line"><span class="keyword">struct </span>Foo : Base {</div>
<div class="line">  <span class="keywordtype">int</span> bar, baz;</div>
<div class="line">};</div>
<div class="line">REFL_AUTO(<a class="code" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a>(Foo, bases&lt;Base&gt;), field(bar), field(baz))</div>
<div class="line"><a class="code" href="namespacerefl_1_1descriptor.html#af716224744f34050b6b43a95251f750c">get_declared_members</a>(reflect&lt;Foo&gt;()) -&gt; type_list&lt;field_descriptor&lt;Foo, 0&gt; /bar/, field_descriptor&lt;Foo, 1&gt; /baz/&gt;</div>
</div><!-- fragment --> 
</div>
</div>
<a id="a48f1fddd822d40866a30bf1ebd60fa1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48f1fddd822d40866a30bf1ebd60fa1a">&#9670;&nbsp;</a></span>members</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr <a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html#abced96d86e87fce0968b1a9c9c2df561">member_types</a> <a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html">refl::descriptor::type_descriptor</a>&lt; T &gt;::members { }</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">constexpr</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The list of declared and inherited member descriptors. </p>
<div class="fragment"><div class="line"><span class="keyword">struct </span>Base {</div>
<div class="line"> <span class="keywordtype">int</span> val;</div>
<div class="line">};</div>
<div class="line"><span class="keyword">struct </span>Foo : Base {</div>
<div class="line">  <span class="keywordtype">int</span> bar, baz;</div>
<div class="line">};</div>
<div class="line">REFL_AUTO(<a class="code" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a>(Foo, bases&lt;Base&gt;), field(bar), field(baz))</div>
<div class="line"><a class="code" href="namespacerefl_1_1descriptor.html#ad60741d56b2c28157b3588b7348256b7">get_members</a>(reflect&lt;Foo&gt;()) -&gt; type_list&lt;field_descriptor&lt;Foo, 0&gt; /bar/, field_descriptor&lt;Foo, 1&gt; /baz/, field_descriptor&lt;Base, 0&gt; /val/&gt;</div>
</div><!-- fragment --> 
</div>
</div>
<a id="a2593e5ff02d41a4a4c0d45194c21ac6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2593e5ff02d41a4a4c0d45194c21ac6b">&#9670;&nbsp;</a></span>name</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr const auto <a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html">refl::descriptor::type_descriptor</a>&lt; T &gt;::name { type_info::name }</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">constexpr</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The name of the reflected type. </p>
<div class="fragment"><div class="line"><span class="keyword">namespace </span>ns {</div>
<div class="line">  <span class="keyword">struct </span>Foo {</div>
<div class="line">    <span class="keywordtype">int</span> x;</div>
<div class="line">  };</div>
<div class="line">}</div>
<div class="line">REFL_AUTO(<a class="code" href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">type</a>(ns::Foo), field(x))</div>
<div class="line"> </div>
<div class="line"><a class="code" href="namespacerefl_1_1descriptor.html#aff945ef69bf77ab1725a5a8d4c1fea98">get_name</a>(reflect&lt;Foo&gt;()) -&gt; <span class="stringliteral">&quot;ns::Foo&quot;</span></div>
<div class="line"><a class="code" href="namespacerefl_1_1descriptor.html#aff945ef69bf77ab1725a5a8d4c1fea98">get_name</a>(<a class="code" href="namespacerefl_1_1trait.html#a90fc62b3597ebdeda8040ff78c0628c3">get_t</a>&lt;0, member_list&lt;Foo&gt;&gt;()) -&gt; <span class="stringliteral">&quot;x&quot;</span></div>
</div><!-- fragment --> 
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/<a class="el" href="refl_8hpp_source.html">refl.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="anamespacerefl_1_1descriptor_html_a268faca3e6a1845928f583abe5ef877e"><div class="ttname"><a href="namespacerefl_1_1descriptor.html#a268faca3e6a1845928f583abe5ef877e">refl::descriptor::get_attributes</a></div><div class="ttdeci">constexpr const auto &amp; get_attributes(Descriptor d) noexcept</div><div class="ttdoc">Returns a const reference to the descriptor's attribute tuple.</div><div class="ttdef"><b>Definition:</b> refl.hpp:2672</div></div>
<div class="ttc" id="aclassrefl_1_1descriptor_1_1type__descriptor_html_a38599f7e777bda08453cdc4387c03708"><div class="ttname"><a href="classrefl_1_1descriptor_1_1type__descriptor.html#a38599f7e777bda08453cdc4387c03708">refl::descriptor::type_descriptor::type</a></div><div class="ttdeci">T type</div><div class="ttdoc">The reflected type T.</div><div class="ttdef"><b>Definition:</b> refl.hpp:2569</div></div>
<div class="ttc" id="anamespacerefl_1_1descriptor_html_af716224744f34050b6b43a95251f750c"><div class="ttname"><a href="namespacerefl_1_1descriptor.html#af716224744f34050b6b43a95251f750c">refl::descriptor::get_declared_members</a></div><div class="ttdeci">constexpr auto get_declared_members(TypeDescriptor t) noexcept</div><div class="ttdoc">Returns a type_list of the declared members of the type.</div><div class="ttdef"><b>Definition:</b> refl.hpp:2756</div></div>
<div class="ttc" id="anamespacerefl_1_1descriptor_html_a84ed2ffb6772717a47f526da332c45c8"><div class="ttname"><a href="namespacerefl_1_1descriptor.html#a84ed2ffb6772717a47f526da332c45c8">refl::descriptor::get_attribute_types</a></div><div class="ttdeci">constexpr auto get_attribute_types(Descriptor d) noexcept</div><div class="ttdoc">Returns a type_list of the descriptor's attribute types.</div><div class="ttdef"><b>Definition:</b> refl.hpp:2689</div></div>
<div class="ttc" id="anamespacerefl_1_1descriptor_html_ad60741d56b2c28157b3588b7348256b7"><div class="ttname"><a href="namespacerefl_1_1descriptor.html#ad60741d56b2c28157b3588b7348256b7">refl::descriptor::get_members</a></div><div class="ttdeci">constexpr auto get_members(TypeDescriptor t) noexcept</div><div class="ttdoc">Returns a type_list of the declared and inherited members of the type.</div><div class="ttdef"><b>Definition:</b> refl.hpp:2777</div></div>
<div class="ttc" id="anamespacerefl_1_1trait_html_a90fc62b3597ebdeda8040ff78c0628c3"><div class="ttname"><a href="namespacerefl_1_1trait.html#a90fc62b3597ebdeda8040ff78c0628c3">refl::trait::get_t</a></div><div class="ttdeci">typename get&lt; N, TypeList &gt;::type get_t</div><div class="ttdoc">The N-th type in the provided type_list.</div><div class="ttdef"><b>Definition:</b> refl.hpp:800</div></div>
<div class="ttc" id="anamespacerefl_1_1descriptor_html_afc445cfd9be739891c2b6731047cf144"><div class="ttname"><a href="namespacerefl_1_1descriptor.html#afc445cfd9be739891c2b6731047cf144">refl::descriptor::get_base_types</a></div><div class="ttdeci">constexpr auto get_base_types(TypeDescriptor t) noexcept</div><div class="ttdoc">Returns a type_list of the declared and inherited base types of the type.</div><div class="ttdef"><b>Definition:</b> refl.hpp:2735</div></div>
<div class="ttc" id="anamespacerefl_html_ae95fbc2d63a7db5ce4d8a4dcca3d637e"><div class="ttname"><a href="namespacerefl.html#ae95fbc2d63a7db5ce4d8a4dcca3d637e">refl::reflect</a></div><div class="ttdeci">constexpr type_descriptor&lt; T &gt; reflect() noexcept</div><div class="ttdoc">Returns the type descriptor for the type T.</div><div class="ttdef"><b>Definition:</b> refl.hpp:3682</div></div>
<div class="ttc" id="aclassrefl_1_1descriptor_1_1type__descriptor_html_ab2c94fbeba96fd5d7259ee3843e5ddbe"><div class="ttname"><a href="classrefl_1_1descriptor_1_1type__descriptor.html#ab2c94fbeba96fd5d7259ee3843e5ddbe">refl::descriptor::type_descriptor::base_types</a></div><div class="ttdeci">detail::base_type_list&lt; T &gt;::type base_types</div><div class="ttdoc">The declared and inherited base types of T.</div><div class="ttdef"><b>Definition:</b> refl.hpp:2581</div></div>
<div class="ttc" id="anamespacerefl_1_1descriptor_html_aff945ef69bf77ab1725a5a8d4c1fea98"><div class="ttname"><a href="namespacerefl_1_1descriptor.html#aff945ef69bf77ab1725a5a8d4c1fea98">refl::descriptor::get_name</a></div><div class="ttdeci">constexpr auto get_name(Descriptor d) noexcept</div><div class="ttdoc">Returns the full name of the descriptor.</div><div class="ttdef"><b>Definition:</b> refl.hpp:2655</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacerefl.html">refl</a></li><li class="navelem"><a class="el" href="namespacerefl_1_1descriptor.html">descriptor</a></li><li class="navelem"><a class="el" href="classrefl_1_1descriptor_1_1type__descriptor.html">type_descriptor</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
